#$Id$
#Maintainer: Jan de Groot <jgc@archlinux.org>
#Contributor: Matt Arsenault <arsenm2@rpi.edu>
#Contributor: Bruce Cowan <bcowan@fastmail.co.uk>

pkgname=gnome-js-common
pkgver=0.1.2
pkgrel=3
pkgdesc="GNOME JavaScript common modules"
arch=('any')
url="http://live.gnome.org/Seed/"
license=('GPL3')
makedepends=('intltool')
options=('!docs')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.1/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('1765be99f3d83cc57e1ec13a2bb963469b8e91b60239eeaab61d66d7744496e6')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
